{include file="public/header"}

<main class="outline" id="container">
			<div class="" id="bodyDiv">
				<div class="main zoushi">
		<div class="zoushi_header_nav">
			<div class="lotteryNav">
				<ul>
					<li class="liHead liDiv {if (!$uuid)}active{/if}" nid="0">
						<div class="headTitle">
							<a href="{:url('lottery/trend')}" style="color:#fff;">全部</a>
						</div>
					</li>
					{foreach $lotterys as $lottery}
					<li class="liDiv {if ($uuid eq $lottery.id)}active{/if}" >
						<div class="navTitle">
							<i>
								<img src="__TEMPLATE__/webfile/{$lottery.pic}" alt="" width="26px" height="26px">
							</i>
							<span>
							{if ($lottery.id eq 8)}
							  <a href="{:url('lottery/liuhecai')}?uuid={$lottery.id}">{$lottery.class_name_lottery}</a>
							{else /}
							  <a href="{:url('lottery/trend')}?uuid={$lottery.id}">{$lottery.class_name_lottery}</a>
							{/if}
							</span>
						</div>
					</li>
					{/foreach}
				</ul>
			</div>
			<div class="hideNav" style="display: block;">
				<ul>
				{foreach $kj_list as $k=>$kj}
					<li>
						  <a href="{:url('lottery/trend')}?uuid={$uuid}&czid={$kj.id}">
							<span id="false" {if condition="$kj.id eq $czid || $kj.id eq $first.id"}style="color:red;"{/if}>
								{if condition="$kj.cp_name_new eq ''" }
								{$kj.cp_name_old}
								{else /}
								{$kj.cp_name_new}
								{/if}
							</span>
						</a>
						{if(count($kj_list) neq ($k+1))}
						<em>|</em>
						{/if}
					</li>
				{/foreach}
				</ul>
			</div>
			
		</div>
	</div>
<!-- 				<div class="codeNav">
					<div class="codeRight">
						<a class="" id="1">
							今天
						</a>
						<a class="" id="2">
							昨天
						</a>
						<a class="active" id="3">
							前天
						</a>
						<a class="" id="20">
							最近20期
						</a>
						<a class="" id="30">
							最近30期
						</a>
						<a class="" id="50">
							最近50期
						</a>
						<a class="" id="100">
							最近100期
						</a>
					</div>
				</div> -->
				<div class="trend trend2" style="min-height:450px;width:95%;margin:0 auto">
					<div class="clear">
					</div>
					<div style="width:1027px; margin:0 auto">
						{if ($first.id eq 9 || $uuid eq 8)}
							<iframe id="iframeid" src="liuhecaiSimple?uuid={$uuid}&czid={$kj.id}" scrolling="auto" noresize="noresize" frameborder="0" width="100%" height="650"></iframe>
						{else /}
							<iframe id="iframeid" src="trendPic?czid={$czid}" scrolling="auto" noresize="noresize" frameborder="0" width="100%" height="650"></iframe>
						{/if}
					</div>
					<div class="clear">
					</div>
				</div>
			</div>
		</main>

{include file="public/footer"}
